<%@ include file="mapa.jspf" %>
<p align="center">
	<div id="map_canvas" style="width: 60%; height: 60%%"></div>
</p>

<form action="<c:url value="/carona/oferta" />" method="post">
	Latitude: <input type="text" id="origem.latitude" name="carona.origem.latitude" value="${ carona.origem.latitude }" /> 
	Longitude: <input type="text" id="origem.longitude" name="carona.origem.longitude" value="${ carona.origem.longitude }" /> 
	<br />
	Latitude: <input type="text" id="destino.latitude" name="carona.destino.latitude" value="${ carona.destino.latitude }" /> 
	Longitude: <input type="text" id="destino.longitude" name="carona.destino.longitude" value="${ carona.destino.longitude }" />
	<br />
	Atraso: <input type="text" id="atraso" name="carona.atraso" value="${ carona.atraso }" />
	Vagas: <input type="text" id="vagas" name="vagas" /> 
	<br />

	<input type="submit" value="Ofertar carona" /> 
</form>